package com.dxy.dataManage.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dxy.dataManage.bean.File;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * @author dxy
 * @version 1.0
 */
public interface FileService extends IService<File> {
    List<File> findByType(String type, String componyName);
    List<File> listFileByNameOrType(String name,String type,String componyName);
    List<File> findByState(String state, String componyName);
    String fileUpload(MultipartFile[] files) throws IOException;
    List<File> getProcessFile(Long id);
    //    List<java.io.File> fileDown(String url);
}
